package com.intelligent.system.auth.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.intelligent.system.auth.dto.*;
import com.intelligent.system.auth.entity.Menu;
import com.intelligent.system.common.response.ResultDO;

import java.util.List;

public interface IMenuService extends IService<Menu> {
    ResultDO<MenuDTO> getMenuById(Long id);
    ResultDO<Page<MenuDTO>> getMenuList(MenuQueryDTO param);
    ResultDO<?> addMenu(MenuDTO param);
    ResultDO<?> updateMenu(MenuDTO param);
    ResultDO<?> updateMenuVisible(Long menuId, String visible);
    ResultDO<?> deleteMenuById(Long menuId);
} 